gtk4.git
13 years agogdkdisplay: Remove get_screen() and get_n_screens() vfuncs
Benjamin Otte [Mon, 1 Apr 2013 12:47:17 +0000 (14:47 +0200)]
gdkdisplay: Remove get_screen() and get_n_screens() vfuncs

13 years agoMention display:screen change in release notes
Matthias Clasen [Tue, 2 Apr 2013 03:05:51 +0000 (23:05 -0400)]
Mention display:screen change in release notes

13 years agotests: improve gtkmenu testcase
Ryan Lortie [Sat, 23 Mar 2013 20:15:04 +0000 (16:15 -0400)]
tests: improve gtkmenu testcase

Don't just create a menushell and populate it with random data -- verify that
the resulting menu layout is actually correct.

This is introduced in a separate commit because the old code was failing this
part of the test.

https://bugzilla.gnome.org/show_bug.cgi?id=696468

13 years agoIntroduce GtkMenuTracker
Ryan Lortie [Fri, 22 Mar 2013 21:24:46 +0000 (17:24 -0400)]
Introduce GtkMenuTracker

GtkMenuTracker folds a nested structure of sections in a GMenuModel into
a single linear menu, which it expresses to its user by means of 'insert
item at position' and 'remove item at position' callbacks.

The logic for where to insert separators and how to handle action
namespaces is contained within the tracker, removing the need to have
this logic duplicated in the 3 or 4 places that consume GMenuModel.

In comparison with the previous code, the tracker no longer completely
destroys and rebuilds menus every time a single change occurs.  As a
result, the new gtkmenu testcase now runs in approximately 3 seconds
instead of ~60 before.

https://bugzilla.gnome.org/show_bug.cgi?id=696468

13 years agotests: add a test for gtk_menu_shell_bind()
Ryan Lortie [Fri, 22 Mar 2013 21:20:43 +0000 (17:20 -0400)]
tests: add a test for gtk_menu_shell_bind()

Borrow the RandomMenu code from the GLib testsuite and hook it up to
gtk_menu_shell_bind().

https://bugzilla.gnome.org/show_bug.cgi?id=696468

13 years agogtktextattributes: move comment above relevant struct
Sébastien Wilmet [Mon, 1 Apr 2013 19:09:14 +0000 (21:09 +0200)]
gtktextattributes: move comment above relevant struct

https://bugzilla.gnome.org/show_bug.cgi?id=697048

13 years agoGtkTextTagTable: simplify a bit the code
Sébastien Wilmet [Mon, 1 Apr 2013 14:38:41 +0000 (16:38 +0200)]
GtkTextTagTable: simplify a bit the code

https://bugzilla.gnome.org/show_bug.cgi?id=697048

13 years agoGtkTextView: remove some dead code
Sébastien Wilmet [Sat, 30 Mar 2013 22:09:34 +0000 (23:09 +0100)]
GtkTextView: remove some dead code

https://bugzilla.gnome.org/show_bug.cgi?id=697048

13 years agogtktextattributes: explain what is "pg_bg"
Sébastien Wilmet [Sun, 31 Mar 2013 17:08:49 +0000 (19:08 +0200)]
gtktextattributes: explain what is "pg_bg"

I didn't know what "pg" stands for.

https://bugzilla.gnome.org/show_bug.cgi?id=697048

13 years agogtktextattributes: include the right headers
Sébastien Wilmet [Fri, 29 Mar 2013 13:09:06 +0000 (14:09 +0100)]
gtktextattributes: include the right headers

Some function prototypes in gtktexttagprivate.h are implemented in
gtktextattributes.c.

https://bugzilla.gnome.org/show_bug.cgi?id=697048

13 years agogtktexttypes: remove inline_byte_begins_utf8_char()
Sébastien Wilmet [Thu, 28 Mar 2013 20:50:08 +0000 (21:50 +0100)]
gtktexttypes: remove inline_byte_begins_utf8_char()

The function was used only in gtk_text_byte_begins_utf8_char().

https://bugzilla.gnome.org/show_bug.cgi?id=697048

13 years agoDoc: fix dead link in the text widget overview
Sébastien Wilmet [Mon, 1 Apr 2013 19:00:04 +0000 (21:00 +0200)]
Doc: fix dead link in the text widget overview

https://bugzilla.gnome.org/show_bug.cgi?id=697048

13 years agoDoc: move the GtkTextAttributes struct
Sébastien Wilmet [Thu, 28 Mar 2013 22:16:20 +0000 (23:16 +0100)]
Doc: move the GtkTextAttributes struct

It's more logical to have the GtkTextAttributes and GtkTextAppearance
structs together. And it creates a separation between gtk_text_tag and
gtk_text_attributes functions.

https://bugzilla.gnome.org/show_bug.cgi?id=697048

13 years agobroadway: Use wss: on https: uris
Alexander Larsson [Mon, 1 Apr 2013 15:29:06 +0000 (17:29 +0200)]
broadway: Use wss: on https: uris

13 years agoDeprecate gdk_get_display()
Benjamin Otte [Sun, 25 Nov 2012 20:11:48 +0000 (21:11 +0100)]
Deprecate gdk_get_display()

13 years agogdk: Shuffle code around
Benjamin Otte [Sun, 25 Nov 2012 20:09:58 +0000 (21:09 +0100)]
gdk: Shuffle code around

Make implementation, header and documentation be at the correct place.

13 years agox11: Make display:screen relation 1:1
Benjamin Otte [Sun, 25 Nov 2012 19:17:30 +0000 (20:17 +0100)]
x11: Make display:screen relation 1:1

Only ever open the default screen.

If apps need support for multiple screens, they need to
gdk_display_open() them manually.

13 years agowayland: Remove unused variable
Benjamin Otte [Fri, 29 Mar 2013 12:36:01 +0000 (13:36 +0100)]
wayland: Remove unused variable

13 years agoRemove an unused filed in GdkWindowImplWayland
Matthias Clasen [Mon, 1 Apr 2013 02:46:31 +0000 (22:46 -0400)]
Remove an unused filed in GdkWindowImplWayland

The unused toplevel_window_type field was copied over from
the X backend.

13 years agoRemove an unused field in GdkWindowX11
Matthias Clasen [Mon, 1 Apr 2013 02:44:59 +0000 (22:44 -0400)]
Remove an unused field in GdkWindowX11

The toplevel_window_type field was only ever set to -1, and
never used. The actual, used toplevel_window_type field lives
in GdkWindow.

13 years agoFinnish translation update by Jiri Grönroos
Ville-Pekka Vainio [Sun, 31 Mar 2013 17:17:23 +0000 (20:17 +0300)]
Finnish translation update by Jiri Grönroos

13 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Sun, 31 Mar 2013 15:03:03 +0000 (17:03 +0200)]
[l10n] Updated Catalan (Valencian) translation

13 years agowayland: Set a wayland-client log handler to print errors we get
Kristian Høgsberg [Sat, 30 Mar 2013 18:18:54 +0000 (14:18 -0400)]
wayland: Set a wayland-client log handler to print errors we get

13 years agowayland: Don't error out on G_IO_HUP until we've read G_IO_IN data
Kristian Høgsberg [Sat, 30 Mar 2013 18:17:07 +0000 (14:17 -0400)]
wayland: Don't error out on G_IO_HUP until we've read G_IO_IN data

We can get G_IO_HUP and G_IO_IN at the same time, if the compositor writes
data to us and then closes our connection.  Make sure that we dispatch events
always if we have G_IO_IN and then error out if we get G_IO_HUP after that.

13 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Sat, 30 Mar 2013 15:24:03 +0000 (16:24 +0100)]
[l10n] Updated Catalan (Valencian) translation

13 years ago[l10n] Update Catalan translation
Pau Iranzo [Sat, 30 Mar 2013 15:22:48 +0000 (16:22 +0100)]
[l10n] Update Catalan translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 30 Mar 2013 10:13:50 +0000 (11:13 +0100)]
Updated Slovenian translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 30 Mar 2013 10:09:59 +0000 (11:09 +0100)]
Updated Slovenian translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 30 Mar 2013 10:07:17 +0000 (11:07 +0100)]
Updated Slovenian translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 30 Mar 2013 08:47:45 +0000 (09:47 +0100)]
Updated Slovenian translation

13 years agobroadway: Reuse surfaces passed to server
Alexander Larsson [Fri, 29 Mar 2013 08:50:59 +0000 (09:50 +0100)]
broadway: Reuse surfaces passed to server

This way we don't have to reopen all the time for pure updates,
and we can immediately unlink the shm file to avoid "leaking" them
on improper shutdown.

13 years agobroadway: Move surface open to server
Alexander Larsson [Fri, 29 Mar 2013 08:38:34 +0000 (09:38 +0100)]
broadway: Move surface open to server

This way we can cache the last opened surface

13 years agobroadway: Make chrome work again
Alexander Larsson [Thu, 28 Mar 2013 23:23:41 +0000 (00:23 +0100)]
broadway: Make chrome work again

13 years agobroadway: Add support for password authentication
Alexander Larsson [Thu, 28 Mar 2013 21:57:33 +0000 (22:57 +0100)]
broadway: Add support for password authentication

13 years agobroadway: Limit window resize based on window geometry
Alexander Larsson [Thu, 28 Mar 2013 19:03:13 +0000 (20:03 +0100)]
broadway: Limit window resize based on window geometry

13 years agobroadway: Sync surface updates with paint clock
Alexander Larsson [Thu, 28 Mar 2013 18:22:42 +0000 (19:22 +0100)]
broadway: Sync surface updates with paint clock

We now only update surface data after we have painted. Before we painted
in an idle, which meant we might send black data some times if we e.g.
resized the window and had not painted yet. Also, it means we're updating
less often to the daemon, saving resources.

We still have to queue a flush in the idle for non-draw operations,
otherwise e.g. resize of a toplevel will never be flushed if the clock
is frozen (e.g. during toplevel resize).

13 years agobroadway: Ensure window sizes are synched right
Alexander Larsson [Thu, 28 Mar 2013 18:00:23 +0000 (19:00 +0100)]
broadway: Ensure window sizes are synched right

We don't want to update the window size on configure event, only
the position, as the size is client side controlled. We were
updating to an old size during resizes which causes us to send
surfaces of the wrong size to the daemon.

13 years agobroadway: Clean up moveresize code
Alexander Larsson [Thu, 28 Mar 2013 16:38:44 +0000 (17:38 +0100)]
broadway: Clean up moveresize code

13 years agobroadway: Remove leftover cruft that caused resize to fail
Alexander Larsson [Thu, 28 Mar 2013 16:38:01 +0000 (17:38 +0100)]
broadway: Remove leftover cruft that caused resize to fail

getTransientToplevel() doesn't exist anymore so this broke.

13 years agobroadway: Fix mouse position typo
Alexander Larsson [Thu, 28 Mar 2013 15:27:49 +0000 (16:27 +0100)]
broadway: Fix mouse position typo

13 years agoreftests: Add a reftest for color resolving errors
Benjamin Otte [Thu, 28 Mar 2013 22:17:32 +0000 (23:17 +0100)]
reftests: Add a reftest for color resolving errors

This checks the fixes in the last two commits.

13 years agocssvalue: At cycle detection to color resolving
Benjamin Otte [Thu, 28 Mar 2013 22:13:43 +0000 (23:13 +0100)]
cssvalue: At cycle detection to color resolving

The following CSS would infloop:

@define-color self @self

as it would infinitely lookup the color named "self" and try to resolve
it. This patch adds detection of such cycles to the resolve function by
keeping a list of currently resolving colors in the cycle_list variable.

13 years agocssvalue: Handle named colors not resolving
Benjamin Otte [Thu, 28 Mar 2013 21:52:30 +0000 (22:52 +0100)]
cssvalue: Handle named colors not resolving

If a named color references a nonexistant named color, we didn't catch
that error and ended up crashing on a NULL-dereference.
This crashed Boxes, because its CSS referenced values from the theme
that didn't exist in any theme.

13 years agomenuitem: Remove old themeing enhancement
Benjamin Otte [Tue, 26 Mar 2013 12:27:45 +0000 (13:27 +0100)]
menuitem: Remove old themeing enhancement

CSS doesn't allow themeing parents based on the state of their children,
so this code just causes extra redraws today.

13 years agomenushell: Remove unused header
Benjamin Otte [Tue, 26 Mar 2013 12:15:20 +0000 (13:15 +0100)]
menushell: Remove unused header

13 years agomenu: Move enum declaration to correct header
Benjamin Otte [Tue, 26 Mar 2013 12:14:05 +0000 (13:14 +0100)]
menu: Move enum declaration to correct header

That enum is used in GtkMenuShellClass, so put it there.

13 years agotearoffmenuitem: Use public API, don't poke GtkMenuPrivate
Benjamin Otte [Tue, 26 Mar 2013 12:02:59 +0000 (13:02 +0100)]
tearoffmenuitem: Use public API, don't poke GtkMenuPrivate

13 years agowayland: Implement animatable cursors
Chris Cummins [Thu, 28 Mar 2013 12:08:43 +0000 (12:08 +0000)]
wayland: Implement animatable cursors

Cursor animations are handled on a per-device basis, with
GdkWaylandDevice updating the pointer surface for each frame.

https://bugzilla.gnome.org/show_bug.cgi?id=696429

13 years agowayland: Do not free wayland cursor buffers
Chris Cummins [Tue, 26 Mar 2013 14:44:24 +0000 (14:44 +0000)]
wayland: Do not free wayland cursor buffers

The cursor buffer is only non-null when a cursor is created from pixbuf,
so it is not necessary to keep track of whether to free this buffer on
finalize.

13 years agowayland: Differentiate wayland and pixbuf cursors
Chris Cummins [Tue, 26 Mar 2013 14:19:37 +0000 (14:19 +0000)]
wayland: Differentiate wayland and pixbuf cursors

By keeping a pointer to the wl_cursor struct in GdkWaylandCursor, it is
no longer necessary to duplicate cursor data (width, height, hotspots,
etc.) between wl_cursor and GdkWaylandCursor.

13 years agoUpdated Indonesian translation of po-properties
Andika Triwidada [Thu, 28 Mar 2013 14:05:01 +0000 (21:05 +0700)]
Updated Indonesian translation of po-properties

13 years agoGtkOverlay: Respect overlay child min size
Alexander Larsson [Thu, 28 Mar 2013 12:24:04 +0000 (13:24 +0100)]
GtkOverlay: Respect overlay child min size

Never allocate an overlayed child less than its minimum request.
If the minimum doesn't fit we will gracefully clip via the
widget window.

https://bugzilla.gnome.org/show_bug.cgi?id=696623

13 years agoGtkOverlay: Don't allocate child except in size_allocate
Alexander Larsson [Thu, 28 Mar 2013 11:10:09 +0000 (12:10 +0100)]
GtkOverlay: Don't allocate child except in size_allocate

We were calling gtk_overlay_child_allocate() both in realize
and in add as we wanted to create and position the child windows
for the widgets. However, this call also actually called
gtk_widget_size_allocate() on the child, which it shouldn't. In some
cases the overlay is realized before being allocated, and thus it
will allocate the child at 0x0 which is an invalid size for it to be in.
In particular, if the child has margins set this will result in negative
allocations and warnings.

This fix splits out the allocation computation so that
gtk_overlay_create_child_window can use it without callers
having to call gtk_overlay_child_allocate() to move the windows.

https://bugzilla.gnome.org/show_bug.cgi?id=696623

13 years agoquartz: move atom/pasteboard type conversions functions to GDK
Kristian Rietveld [Sun, 30 Dec 2012 16:09:22 +0000 (17:09 +0100)]
quartz: move atom/pasteboard type conversions functions to GDK
(cherry picked from commit a269c2f8d26a588c4b61ad605ef496e89759cc03)

13 years agodocs: Add wayland documentation to Gdk reference
Jan Arne Petersen [Wed, 20 Mar 2013 15:40:26 +0000 (16:40 +0100)]
docs: Add wayland documentation to Gdk reference

13 years agowayland: Use the wl_display_sync() request to track pending init roundtrips
Kristian Høgsberg [Wed, 27 Mar 2013 17:38:15 +0000 (13:38 -0400)]
wayland: Use the wl_display_sync() request to track pending init roundtrips

Instead of maintaining the init refcount in regular event handlers that can
fire in case of hotplug or mode changes, use a dedicated sync callback
to wait for roundtrips.

13 years agowayland: Pass most recent button press serial to set_popup_surface
Kristian Høgsberg [Wed, 27 Mar 2013 17:21:54 +0000 (13:21 -0400)]
wayland: Pass most recent button press serial to set_popup_surface

13 years agogdkwindow: Apply layered areas to the shape for native windows
Alexander Larsson [Wed, 27 Mar 2013 10:47:37 +0000 (11:47 +0100)]
gdkwindow: Apply layered areas to the shape for native windows

If a window is overlapped by a layered (i.e. partially transparent)
window then that region will not disappear from the native window clip
region. This lets us handle compositing multiple layers of windows.

For native subwindows this doesn't really work. For them we apply the
clip region as a shape to the native window which lets us have client
side windows overlapping the native window. However, with the addition
of the layered stuff the "overlapped-by-alpha-csw" part got broken, as
this area is not removed from the clip region of the native window.

We fix this by also removing the layered area when applying the shape.
This means alpha and alpha backgrounds don't work over native windows,
but there is not much to do about that.

https://bugzilla.gnome.org/show_bug.cgi?id=696370

13 years agogdkwindow: Add alpha_bg to window debug print
Alexander Larsson [Wed, 27 Mar 2013 10:42:44 +0000 (11:42 +0100)]
gdkwindow: Add alpha_bg to window debug print

13 years agoFix GtkApplicationWindow menubar placement
Matthias Clasen [Wed, 27 Mar 2013 04:23:19 +0000 (00:23 -0400)]
Fix GtkApplicationWindow menubar placement

Since the menubar is part of the content, we need to give
it the content_window as parent window, to make things
work again.
https://bugzilla.gnome.org/show_bug.cgi?id=696561

13 years agoDon't return FALSE from a non-boolean function
Matthias Clasen [Wed, 27 Mar 2013 03:30:10 +0000 (23:30 -0400)]
Don't return FALSE from a non-boolean function

https://bugzilla.gnome.org/show_bug.cgi?id=696608

13 years agowayland: Handle seat removal
Matthias Clasen [Wed, 27 Mar 2013 02:57:46 +0000 (22:57 -0400)]
wayland: Handle seat removal

Also, emit ::device-added and ::device-removed signals
as devices appear and disappear.

13 years agowayland: Make monitor removal work
Matthias Clasen [Wed, 27 Mar 2013 02:16:15 +0000 (22:16 -0400)]
wayland: Make monitor removal work

The global_removal argument is the _name_ of the object.
We were comparing it to the _object id_ of the object.
To fix this, store the name at the time the object is bound.

13 years agowayland: Also emit monitors-changed when monitors are unplugged
Matthias Clasen [Wed, 27 Mar 2013 01:53:41 +0000 (21:53 -0400)]
wayland: Also emit monitors-changed when monitors are unplugged

13 years agowayland: Also emit size-changed when appropriate
Matthias Clasen [Wed, 27 Mar 2013 01:47:49 +0000 (21:47 -0400)]
wayland: Also emit size-changed when appropriate

We need to be a bit more careful when updating the screen
size - the code that was there would not do the right thing
if e.g. the width of one monitor was reduced.

13 years agowayland: Emit monitors-changed when monitors change
Matthias Clasen [Wed, 27 Mar 2013 01:37:21 +0000 (21:37 -0400)]
wayland: Emit monitors-changed when monitors change

13 years agoDon't decrement the init_ref_count towards -infinity
Matthias Clasen [Wed, 27 Mar 2013 01:27:21 +0000 (21:27 -0400)]
Don't decrement the init_ref_count towards -infinity

Once we are at zero, initialization is done.

13 years agoPimp up testheaderbar some more
Matthias Clasen [Wed, 27 Mar 2013 00:46:13 +0000 (20:46 -0400)]
Pimp up testheaderbar some more

13 years agoUpdated Czech translatio
Marek Černocký [Tue, 26 Mar 2013 22:06:55 +0000 (23:06 +0100)]
Updated Czech translatio

13 years agowayland: Set screen size to bounding box of all outputs
Kristian Høgsberg [Tue, 26 Mar 2013 21:23:31 +0000 (17:23 -0400)]
wayland: Set screen size to bounding box of all outputs

Don't hardcode 8192x8192.  We don't get this info from wayland, so we
compute it as we receive information about the available wl_outputs.

https://bugzilla.gnome.org/show_bug.cgi?id=692871

13 years agowayland: Roundtrip until we've receive initial input and output configuration
Kristian Høgsberg [Tue, 26 Mar 2013 18:42:14 +0000 (14:42 -0400)]
wayland: Roundtrip until we've receive initial input and output configuration

We use a ref-count mechanism to track whether parts of the init sequence
still needs round trips to receive remaining initial state.  Typically
we need a couple of roundtrips total to get the global list, then the
input and output configurations, but with the ref-count we avoid making
global assumptions like that.

https://bugzilla.gnome.org/show_bug.cgi?id=696340

13 years agoBug 695895: Fix gtk3-demo on Windows
Chun-wei Fan [Mon, 18 Mar 2013 01:16:13 +0000 (09:16 +0800)]
Bug 695895: Fix gtk3-demo on Windows

In commit 4e41577b, we are using g_content_type_is_a() to determine how
to display the demo resources in the right pane of the gtk3-demo program.

Use g_content_type_get_mime_type(), so that we can obtain the mime
type of the demo resources on all platforms, as g_content_type_guess()
returns a platform-specific string, as
https://developer.gnome.org/gio/2.35/gio-GContentType.html states.

As .ui files and .css files are normally registered with a different mime
type string on Windows, check for those strings as well.

This will ensure the demo resources can be properly displayed on Windows
as well.

13 years agoFix Visual Studio property sheets
Chun-wei Fan [Tue, 26 Mar 2013 03:56:32 +0000 (11:56 +0800)]
Fix Visual Studio property sheets

The creation of the folder for the "installation" of a11y headers is wrong,
so fix that.

13 years agoAdded uk translation
Daniel Korostil [Mon, 25 Mar 2013 20:39:47 +0000 (22:39 +0200)]
Added uk translation

13 years ago[l10n] Updated German translation
Mario Blättermann [Mon, 25 Mar 2013 18:29:37 +0000 (19:29 +0100)]
[l10n] Updated German translation

13 years agogtkprintbackendcups: Fix a crash in avahi_create_browsers()
Carlos Garcia Campos [Mon, 25 Mar 2013 12:01:23 +0000 (13:01 +0100)]
gtkprintbackendcups: Fix a crash in avahi_create_browsers()

In avahi_request_printer_list() a new connection to the DBus system bus
is started asynchronously, but it's not cancellable and it's not taking
any reference of the GtkPrintBackendCups. This means that when the
callback is called, the object might have been destroyed already. We can
just pass the cancellable created and check for the cancelled error in
the callback before trying to use the GtkPrintBackendCups. The code to
cancel avahi operations and to unsibscribe from the DBus signals has
been moved from finalize to dispose to make sure it happens as soon as
possible.

https://bugzilla.gnome.org/show_bug.cgi?id=696553

13 years agogtkprintbackendcups: Fix a crash in gtk_print_backend_cups_finalize()
Carlos Garcia Campos [Mon, 25 Mar 2013 11:09:52 +0000 (12:09 +0100)]
gtkprintbackendcups: Fix a crash in gtk_print_backend_cups_finalize()

If GtkPrintBackendCups is finalized and cups_get_printer_list hasn't
been called, g_object_unref is called for the GDBusConnection pointer
that is NULL. Use g_clear_object() instead.

https://bugzilla.gnome.org/show_bug.cgi?id=696546

13 years agoUpdate French translation
Alexandre Franke [Mon, 25 Mar 2013 11:07:06 +0000 (12:07 +0100)]
Update French translation

13 years agoTamil Translations Updated
Shantha kumar [Mon, 25 Mar 2013 09:48:45 +0000 (15:18 +0530)]
Tamil Translations Updated

13 years agoTamil Translations Updated
Shantha kumar [Mon, 25 Mar 2013 09:48:30 +0000 (15:18 +0530)]
Tamil Translations Updated

13 years agoCompleted for Malayalam
Ani Peter [Mon, 25 Mar 2013 08:33:52 +0000 (14:03 +0530)]
Completed for Malayalam

13 years agowayland: Add toolbar settings
Matthias Clasen [Sun, 24 Mar 2013 18:55:52 +0000 (14:55 -0400)]
wayland: Add toolbar settings

13 years ago[l10n] updated Italian translation
Luca Ferretti [Sun, 24 Mar 2013 19:57:22 +0000 (20:57 +0100)]
[l10n] updated Italian translation

13 years agowayland: Add support for custom surfaces
Jan Arne Petersen [Wed, 20 Mar 2013 15:38:36 +0000 (16:38 +0100)]
wayland: Add support for custom surfaces

Allow to set a GdkWindow to use a custom surface instead of a
wl_shell_surface. It allows to register the surface as a custom type
with some Wayland interface.

https://bugzilla.gnome.org/show_bug.cgi?id=695861

13 years agobroadway: Don't use deprecated gdk_cursor_ref
Matthias Clasen [Sun, 24 Mar 2013 18:21:41 +0000 (14:21 -0400)]
broadway: Don't use deprecated gdk_cursor_ref

13 years agoGtkWidget: add missing deprecation marks
Sébastien Wilmet [Tue, 19 Mar 2013 13:31:43 +0000 (14:31 +0100)]
GtkWidget: add missing deprecation marks

https://bugzilla.gnome.org/show_bug.cgi?id=696138

13 years agoUpdate Czech translation
Petr Kovar [Sun, 24 Mar 2013 18:19:07 +0000 (19:19 +0100)]
Update Czech translation

13 years agoGtkLabel: fix underlining of mnemonics
Sébastien Wilmet [Sat, 23 Mar 2013 15:44:49 +0000 (16:44 +0100)]
GtkLabel: fix underlining of mnemonics

The underscore was shown in front of the mnemonic instead of underlining
it (e.g., _Save).

Thanks to Lars Uebernickel.

https://bugzilla.gnome.org/show_bug.cgi?id=674759

13 years agoUpdated Danish translation
Ask H. Larsen [Sun, 24 Mar 2013 13:50:40 +0000 (14:50 +0100)]
Updated Danish translation

13 years ago[l10n] Updated German translation
Mario Blättermann [Sun, 24 Mar 2013 11:53:30 +0000 (12:53 +0100)]
[l10n] Updated German translation

13 years agocsd: Reparent the content
Matthias Clasen [Sun, 24 Mar 2013 01:06:14 +0000 (21:06 -0400)]
csd: Reparent the content

This lets us avoid problems with cursor changes.

13 years agoMake gtk_init_check work as expected
Matthias Clasen [Sat, 23 Mar 2013 23:41:39 +0000 (19:41 -0400)]
Make gtk_init_check work as expected

When no GDK backend can be initialized (either because
GDK_BACKEND has been set to the wrong value, or the backends
are simply not included), the expectation is that gtk_init_check
should return FALSE, not error out.
This commit makes it so, by using gdk_display_manager_peek
instead of gdk_display_manager_get in code paths that are used
during initialization.

13 years agoMake gdk_display_open_default_libgtk_only more robust
Matthias Clasen [Sat, 23 Mar 2013 23:40:16 +0000 (19:40 -0400)]
Make gdk_display_open_default_libgtk_only more robust

Make this function return NULL if GDK could not be
initialized. We check this by seeing if there is a
display manager singleton.

13 years agoAdd gdk_display_manager_peek
Matthias Clasen [Sat, 23 Mar 2013 23:39:58 +0000 (19:39 -0400)]
Add gdk_display_manager_peek

Instead of failing with an error if no GDK backend is found like
gdk_display_manager_get(), the new peek function silently returns
NULL.

13 years agowayland: Remove a few unused variables
Matthias Clasen [Sat, 23 Mar 2013 22:31:20 +0000 (18:31 -0400)]
wayland: Remove a few unused variables

13 years agowayland: Don't recreated keymaps on layout change
Matthias Clasen [Sat, 23 Mar 2013 22:02:28 +0000 (18:02 -0400)]
wayland: Don't recreated keymaps on layout change

The GDK model for keymaps expects the keymap object to stay
around and emit a ::keys-changed signal. So, do that. This
should make layout changes work, but it remains untested since
weston does not support layout changes at runtime.

At the same time, plug a memory leak where GdkWaylandKeymap
forgot to free its xkb objects in finalize.
https://bugzilla.gnome.org/show_bug.cgi?id=696339

13 years agowin32: Bring back spinner animation
Tarnyko [Sat, 23 Mar 2013 21:42:55 +0000 (17:42 -0400)]
win32: Bring back spinner animation

Define the spinner animation in css.
https://bugzilla.gnome.org/show_bug.cgi?id=696202

13 years agowayland: remove an unused variable
Matthias Clasen [Sat, 23 Mar 2013 21:10:31 +0000 (17:10 -0400)]
wayland: remove an unused variable

13 years agowayland: Respect keymap repeat information
Matthias Clasen [Sat, 23 Mar 2013 21:09:38 +0000 (17:09 -0400)]
wayland: Respect keymap repeat information

xkb has a function to tell us whether a key should be repeated
or not. Lets use that information.

13 years agoUpdated Aragonese translation
Jorge Pérez Pérez [Sat, 23 Mar 2013 21:19:11 +0000 (22:19 +0100)]
Updated Aragonese translation